20MCA1013

Dinesh Yogesh Parekh

Dr. Tulasi Prasad Sariki

LAB5

image.png

image.png

image.png

image.png

Design a function named find_entropy in python for finding the entropy of the attributes given in the above dataset.

Design a function named find_gain in python for finding the information gain of the attributes given in the above dataset w.r.t to the ‘Status’ attribute.